Skip to content

[OSDOCS#20691]: Fencing parameters tuning for TNF - #118946

Open
bjahagir-OpenShift wants to merge 1 commit into
openshift:mainfrom
bjahagir-OpenShift:bjahagir-OSDOCS-20691
Open

[OSDOCS#20691]: Fencing parameters tuning for TNF#118946
bjahagir-OpenShift wants to merge 1 commit into
openshift:mainfrom
bjahagir-OpenShift:bjahagir-OSDOCS-20691

Conversation

@bjahagir-OpenShift

@bjahagir-OpenShift bjahagir-OpenShift commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

@openshift-ci openshift-ci Bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Aug 27, 2026
Comment thread modules/tnf-applying-fencing-tuning-preset.adoc
Comment thread modules/tnf-applying-fencing-tuning-preset.adoc
Comment thread modules/tnf-applying-fencing-tuning-preset.adoc
Comment thread modules/tnf-applying-fencing-tuning-preset.adoc
Comment thread modules/tnf-applying-fencing-tuning-preset.adoc
@openshift-ci

openshift-ci Bot commented Sep 9, 2026

Copy link
Copy Markdown

@bjahagir-OpenShift: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@lucaconsalvi lucaconsalvi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together, Bhushan — this is a genuinely useful addition and the structure is really clear. I checked the technical content against the cluster-etcd-operator source: the parameter defaults, the fencing-risk classifications, the CEO overwrite matrix, and the pcmk_delay_base warning all hold up. The revert procedure is a particularly good catch, since deleting the MachineConfig genuinely doesn't undo the pcs changes.

One thing I wanted to check with you: I couldn't find the new assembly in _topic_maps/_topic_map.yml, and the page seems to 404 on the preview (.../installing_tnf/tuning-fencing-parameters-tnf), with the left nav still showing just the four existing TNF pages. Is that entry maybe landing in a separate PR? If not, I think it would need adding here for the page to get built.

Two smaller structural notes:

  • Nothing currently xrefs the new page, so even once it is in the nav, someone troubleshooting spurious fencing from "Post-installation troubleshooting and recovery" won't be pointed to it. An xref from there (and/or from "Operating a degraded two-node OpenShift cluster with fencing") would help discoverability.
  • All eight files are missing a trailing newline.

Inline comments below — all small stuff apart from the topic map. Happy to re-review once updated.

@@ -0,0 +1,31 @@
:_mod-docs-content-type: ASSEMBLY

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new assembly doesn't appear in _topic_maps/_topic_map.yml, so I don't think it gets built — the preview 404s at .../installing_tnf/tuning-fencing-parameters-tnf, and the left nav still shows only the four existing TNF pages.

If it isn't coming in a separate PR, it would need an entry under the installing_tnf Topics list (currently lines 444-451):

    - Name: Tuning the fencing parameters for a two-node OpenShift cluster with fencing
      File: tuning-fencing-parameters-tnf

Distros is inherited from the parent installing_tnf entry, so it shouldn't be needed here.

@@ -0,0 +1,24 @@
// Module included in the following assemblies:
// * installing/installing_two_node_cluster/installing_tnf/tuning-parameters-tnf.adoc

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This points to tuning-parameters-tnf.adoc, but the assembly is actually named tuning-fencing-parameters-tnf.adoc. The existing TNF modules use the full path — for example modules/command-line-options-for-fencing-validator-script.adoc:

// * installing/installing_two_node_cluster/installing_tnf/install-post-tnf.adoc

So this one would be:

// * installing/installing_two_node_cluster/installing_tnf/tuning-fencing-parameters-tnf.adoc

The other five new modules have the same issue with a different spelling (installing_tnf/tuning-tnf-fencing-parameters.adoc) — probably worth fixing all six together.


:_mod-docs-content-type: CONCEPT
[id="tuning-tnf-overview_{context}"]
= How fencing parameter tuning works in a two-node Openshift cluster with fencing

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo: "Openshift" -> "OpenShift".


.Procedure

. Save the `apply-fencing-tuning.sh` script to a local file.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The apply-fencing-tuning.sh script body only appears in "Applying a fencing tuning preset". Since these are peer sections, a reader who lands here (or on the revert procedure) has no script to save and no link to where it's defined.

It might be worth moving the script into the overview module as a shared artifact, or adding an xref from here and from "Reverting fencing tuning to defaults" back to where it lives.

Very minor: this module lists "You have the oc CLI tool installed" as a prerequisite, but the revert module omits it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants